package com.kawa.kemanage.entity;

import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class NewsComments {
    private Long commentId;
    private Long contentId;
    private Long userId;
    private Long parentCommentId;
    private String commentText;
    private Integer likeCount;
    private Date createTime;
    private List<NewsComments> childrenComments;

    // 非数据库字段，用于显示
    private String userName;
    private String articleTitle;
    private Long commentCount;
}
